a = "root"
b = "admin"
for _ in range(3):
    c = input("请输入用户名：")
    d = input("请输入密码：")
    if a == c and b == d:
        print("登陆成功")
        break
else:
    print("登录失败三次，账户已锁定")
